]> dgit.raspbian.org Git - gnome-shell.git/commit
grabHelper: Rework grabbing code to properly handle stacking
authorJasper St. Pierre <jstpierre@mecheye.net>
Sat, 15 Sep 2012 05:38:40 +0000 (02:38 -0300)
committerJasper St. Pierre <jstpierre@mecheye.net>
Sat, 15 Sep 2012 13:32:31 +0000 (10:32 -0300)
commitb203a95a786af60257e55881c19b45192a0655b8
tree0c46706024c2cb0c2a4d1b64b2ddc9d96f03a58a
parent2bb1a6792a7d4aefde4397dabc630f0d87709821
grabHelper: Rework grabbing code to properly handle stacking

When Dan Winship wrote the GrabHelper code originally, it didn't
handle a grab stack. I wrote the grab stack code hastily when landed
the message tray, not understanding all of the code that was involved
here.

Fix it so that we properly do the operations for each type of grab
when we first need to, and not sometimes when the first grab is taken.

https://bugzilla.gnome.org/show_bug.cgi?id=683546
js/ui/grabHelper.js